package com.xandone.wcdog.mapper;


import com.xandone.wcdog.pojo.*;

import java.util.List;
import java.util.Map;

public interface VideoMapper {
    List<VideoBean> getVideoList();

    void addVideo(VideoBean videoBean);

    VideoBean getVideoBeanById(String videoId);

    void thumbsVideo(VideoLikeBean VideoLikeBean);

    void collectsVideo(VideoCollectBean VideoCollectBean);

    List<VideoLikeBean> selectVideoLikeById(String videoId);

    List<VideoCollectBean> selectVideoCollectBeanById(String videoId);

    void addVideoComment(VideoCommentBean VideoCommentBean);

    List<VideoCommentBean> getVideoCommentById(String videoId);

    void changeVideoLikeCount(Map<String, Object> map);

    void changeVideoCollectCount(Map<String, Object> map);

    void deleteVideoById(String id);

    void deleteVideoByList(List<String> videoIds);

    void deleteVideoCommentById(String id);

    void deleteVideoCommentByVideoId(String videoId);

    void deleteVideoCommentList(List<String> commentsId);

    void deleteVideoCommentByVideoIdList(List<String> videoIds);

    List<VideoBean> getVideoListTags(Integer tag);

    List<VideoBean> getUserSelfVideos(String userId);

    List<VideoLikeBean> selectVideoLikeByUserId(String userId);

    List<VideoCollectBean> selectVideoCollectByUserId(String userId);

    List<VideoBean> getVideoListFog(String key);

    List<VideoBean> searchVideoList(VideoBean videoBean);
}
